package homework;

import java.util.Scanner;

public class FourOperations {
	public static void main(String[] args) {
		 // 从键盘接收两个整数
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b = scanner.nextDouble();
        
        // 计算加减乘除
        double sum = a + b;
        double difference = a - b;
        double product = a * b;
        double quotient = a / b;
        
        // 输出结果
        System.out.println("a+b=" + sum);
        System.out.println("a-b=" + difference);
        System.out.println("a*b=" + product);
        System.out.println("a/b=" + quotient);
        // ---------------------End------------------------
		
	}

}
